<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>

</head>
<body>
<div>
    <h2>欢迎来到子涵后台管理系统</h2>
    <input type="button" id="btn" value="退出">
</div>
<script>
    $("#btn").click(function (){
        window.location.href="/";
    })
</script>
</body>
</html>